<input type="text" class="inputInteger {if $complexField}complexField{/if}" value="{$value}" name="{if $complexField}{$complexField}[{$id}][{$complexStep}]{else}{$id}{/if}" />